<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
这里是跳转之后的页面,查看一下各个缓存对象中的内容是否存在（缓存的生命周期）：
<%
	String strName = request.getAttribute("userName").toString();
	out.println("request对象中缓存的名为userName变量值："+strName);
	out.println("<br/>");
	out.println("pageContext对象中缓存的名为userName2变量值："+pageContext.getAttribute("userName2"));
	out.println("<br/>");
	out.println("session对象中缓存的名为userName3变量值："+session.getAttribute("userName3"));

%>
</body>
</html>